<?php

/*
 * Camelot PHP Tools
 *
 * @version 2.0
 * @author Bendsoft
 * @package PHP Tools
 * @subpackage Camelot
 * @license FreeBSD License (www.bendsoft.com/licensing/)
 *
 * Note! 
 * Set up settings.php before using this file
 */
header('Content-Type: text/html; charset=utf-8');
error_reporting(E_ALL);
ini_set('display_errors', '1');

require_once '../loader.php';

if(session_id() == '') {
    session_start();
}


//$args = array(
//    "documentLibrary" => "Shared Documents, New Document Library",
//    "defaultLibrary" => "Shared Documents",
//    "showNewFolderControl" => true,
//    "showUploadControls" => true,
//    "connectionName" => "SharePointConnection1"
//);

$args = array(
    "connectionName" => "SharePointConnection1",
    "defaultLibrary" => "Shared Documents"
);

new SharePointDocLibHelper($args);

?>


